#include "iMainWindow.h"
#include "chessBoard.h"
#include <iostream>
class MainWindow : public IMainWindow
{
public:
    ~MainWindow();
    MainWindow();
    void init();
    void update();
    void readSize();
    string getScore();
    bool isWinner(int row,int column,ChessColor chessColor);
    bool insert(int row,int column,ChessColor chessColor);
    void showChessBoard();
    void showMessageBox(string message);
    void showLastResult();
    void readChoice(int* choice);
    void readChessPos(ChessColor chessColor,int* row,int* column);
    void readChessBoardSize(int* rows,int* columns);


private:
    string message;
    ChessBoard *cbPtr;

};

